<h2>Please login to Access the Dashboard</h2>
<?php
echo form_open("welcome/login");
echo form_label("username","u");
$udata = array('name'=>'username','id'=>'u','size'=>15);
echo form_input($udata) . "</p>";
echo form_label("password","p");
$pdata = array('name'=>'password','id'=>'p','size'=>15);
echo form_password($pdata) . "</p>";
echo form_submit('submit','login');
echo form_close();
?>